package com.zxy.ziems.server.alarm.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

/**
 * @Copyright (C),
 * @ClassName: AlarmRuleVO
 * @Author: yanzhiwei
 * @Description:
 * @Date: 2024/4/11 14:06
 */
@Data
public class AlarmRuleVO {
    /**
     * 告警规则ID
     */
    private String id;

    /**
     * 告警规则名称
     */
    private String alarmRuleName;

    /**
     * 告警类型
     */
    private String alarmType;


    /**
     * 状态
     */
    private Integer status;
    /**
     * 更新人
     */
    private String updateUserName;
    /**
     * 更新人id
     */
    private String updateUserId;
    @JsonFormat(
            pattern = "yyyy-MM-dd HH:mm:ss",
            timezone = "GMT+8"
    )
    private LocalDateTime updateTime;
    /**
     * 告警角色
     */
    List<AlarmRuleRoleVO> alarmRuleRoleVOList;
    /**
     * 适用范围
     */
    List<AlarmRuleRangeVO> alarmRangeList;
}
